import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import {ValidationProvider,ValidationObserver, localize} from 'vee-validate/dist/vee-validate.full'
import zh_CN from 'vee-validate/dist/locale/zh_CN.json';
import { Button, Tabbar, TabbarItem, Field, Cell, CellGroup, NavBar, Toast, Notify, Picker, Popup, DatetimePicker} from 'vant';

Vue.use(Button);
Vue.use(Tabbar).use(TabbarItem);
Vue.use(Field);
Vue.use(Cell).use(CellGroup);
Vue.use(NavBar);
Vue.use(Toast);
Vue.use(Notify);
Vue.use(Picker);
Vue.use(Popup);
Vue.use(DatetimePicker);

//静音验证
Vue.component('ValidationObserver', ValidationObserver);
Vue.component('ValidationProvider', ValidationProvider);
localize('zh_CN', zh_CN);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
